﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Test_OnMouseXXX : MonoBehaviour
{
    private void OnMouseDown()
    {
        print("鼠标按下");
        GetComponent<MeshRenderer>().material.color = Color.red;
    }
}